"""manage_system URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/2.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from app001 import views

app_name='app001'
urlpatterns = [
    path('admin/', admin.site.urls),
#     框架
    path('top/',views.f_top,name='top'),
    path('left/',views.f_left,name='left'),
    path('right/',views.f_right,name='right'),
    path('frame/',views.f_frame,name='frame'),
#     添加用户
    path('adduser/',views.f_adduser,name='adduser'),
    path('adduser_page/',views.f_adduser_page,name='adduser_page'),
    path('add_card/',views.f_add_card,name='add_card'),
#     查询用户
    path('select/',views.f_select,name='select'),
#     更新用户信息
    path('updateuser/', views.f_updateuser, name='updateuser'),
    path('updateuser_page/', views.f_updateuser_page, name='updateuser_page'),
#     删除用户
    path('deleteuser/', views.f_deleteuser, name='deleteuser'),

# 查询身份证
    path('selectcard/',views.f_selectcard,name='selectcard'),
#     添加身份证
    path('add_cardinfo/',views.f_add_cardinfo,name='add_cardinfo'),
    path('add_card_page/',views.f_add_card_page,name='add_card_page'),
#     更新身份证
    path('update_card/',views.f_update_card,name='update_card'),
    path('update_card_page/',views.f_update_card_page,name='update_card_page'),
#     删除身份证
    path('deletecard/',views.f_deletecard,name='deletecard'),





]
